<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head th:replace="~{fragment/header :: header}"></head>
<body>

<!-- container -->
<div class="container blog-content-container">

	<h3 th:text="${userModel.title}"></h3>

	<!-- form表单 --><!-- 对象传参 -->
	<form action="/users" th:action="@{/users}" method="POST" th:object="${userModel.user}">
		<!-- 对象惨淡属性 -->
		<input type="hidden" name="id" th:value="*{id}">
		名称：<br>
		<input type="text" name="name" class="form-control" th:value="*{name}"><br>
		邮箱：<br>
		<input type="text" name="email" class="form-control" th:value="*{email}"><br>
		<input class="btn btn-default" type="submit" value="提交">
		
	</form>
	
</div><!-- /.container -->

<div th:replace="~{fragment/footer :: footer}"></div>
</body>
</html>